package cn.edu.scau.cmi.linzhanyi.hibernate;

import java.math.BigInteger;

public class Student {
	private int id;
	private String name;
	private Teacher tutor;
	
	public Student() {
		super();
	}
	public Student(int id, String name, Teacher tutor) {
		super();
		this.id = id;
		this.name = name;
		this.tutor = tutor;
	}
	public Student( String name) {
		super();
		
		this.name = name;
		
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	public Teacher getTutor() {
		return tutor;
	}
	public void setTutor(Teacher tutor) {
		this.tutor = tutor;
	}
	
	

}
